/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Li Wen, 2007-12-29
 * @Version: 071229.001
 * New item added event. The event will pass the package, itinerary and attraction xml data.
 * There are 3 types for new item added event,
 * "newPackage" "newItinerary" "newAttraction"
 */
package com.ibsol.event
{
	import flash.events.Event;

	public class NewItemEvent extends Event
	{
		public var xml:String;
		//Constants for AddNewEvent types
		public static const PACKAGE:String = "newPackage";
		public static const ITINERARY:String = "newItinerary";
		public static const ATTRACTION:String = "newAttraction";
		public static const PHOTO:String = "newPhoto";
		public static const VIDEO:String = "newVideo";
		
		public function NewItemEvent(type:String, xmlStr:String)
		{
			super(type,true);
			this.xml = xmlStr;
		}
	}
}